<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template('phpcms','header_lvmao'); ?>

<div class="box" style=" height:30px; width:950px; line-height:34px; font-size:12px;">
<a href="/info/"><img src="/img/p7.gif" align="absbottom" /></a>
&nbsp &nbsp &nbsp <a href="/">首页</a> > <a href="/info">资讯频道</a> > <?php echo catpos($r['catid']);?> > <?php echo $title;?>
</div>

<div class="box" style=" margin-top:0px;">

<div style="width:640px; float:left;">
<div style="width:634px; color:#2d2d73;" class="line_green">
<div style="width:94%; margin:0 auto; margin-top:12px; font-size:18px; font-weight:bold; line-height:36px; text-align:center; border-bottom:1px #a6e729 solid;">
<?php if($titleintact) { ?><?php echo $titleintact;?><?php } else { ?><?php echo $title;?><?php } ?>
</div>
<div style="width:94%; margin:0 auto; line-height:21px; font-size:12px; text-align:center; ">
作者：<?php if($author) { ?><?php echo $author;?><?php } else { ?><?php echo $userid;?><?php } ?> 来源：<?php echo $copyfrom;?> <?php if($PHPCMS[show_hits]) { ?>浏览次数：<span id="hits">0</span><?php } ?>
</div>
      <?php if($description) { ?>

      <div style="width:86%; margin:0 auto; border:1px #999999 dashed; pandding:4px; line-height:21px; color:#333333;"><b>摘要：</b><?php echo $description;?></div>

      <?php } ?>
<div style="width:94%; margin:0 auto; line-height:21px; margin-top:10px; border-bottom:1px #a6e729 solid;">
<?php if($allow_priv) { ?><!--判断阅读权限-->
<?php if($allow_readpoint) { ?><!--判断是否已经扣点-->
<?php echo $content;?>
<?php } else { ?>
<span style='background:#E4F5FA'><a href='lvmao_getinfo.php?contentid=<?php echo $contentid;?>'>阅读本文需要消耗<font color='red'><?php echo $needscore;?></font>积分，您确认查看吗？</a></span>
<?php } ?>
<?php } else { ?>
<font color="#FF0000">您没有权限阅读</font>
<?php } ?>

<br />
<center><?php echo $pages;?></center>
</div>
<div style="width:94%; margin:0 auto; line-height:21px; margin-top:10px; border-bottom:1px #999999 dashed;">
<!--心情指数模块-->

<?php if(isset($MODULE[mood])) { ?>

<div id="moodrank_div"></div>

<script  type="text/javascript">var contentid = <?php echo $contentid;?>;</script>

<script type="text/javascript" id="callback_js"></script>

<script type="text/javascript" src="data/moodrank/1.js"></script>

<?php } ?>

<?php if(isset($MODULE[digg])) { ?>

<?php include template('digg','show'); ?>

<?php } ?>

<div class="clear"></div>
</div>
<style type="text/css">
#xiangguan li
{
margin:0px;
line-height:23px;
}
</style>
<div style="width:94%; margin:0 auto; line-height:21px; margin-top:10px;" id="xiangguan">
<span style="color:#FF3300; font-weight:bold;">相关资讯：</span><br />
<?php echo tag('phpcms', 'tag_content', "SELECT DISTINCT c.contentid,c.title,c.style,c.url FROM `zzinfo_content` c,`zzinfo_content_tag` t  WHERE c.contentid=t.contentid and c.`status`=99 AND t.`tag` IN(".get_sql_in($r[keywords]).") ORDER BY c.contentid DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '46',));?> 
</div>
</div>

<img src="/img/p8.gif" style="border:1px #999999 solid; display:none; margin-top:6px;" width="634" height="58"/>

<img src="/img/p9.gif" style="border:1px #999999 solid; display:none; margin-top:6px;" width="634"/>

</div>

<div style="width:302px; margin-left:8px; float:left;">

<div class="infobox4" style=" margin-top:0px; background-image:url(/Img/info_b12.gif); border-bottom:0px; height:27px;">
<a href="#" class="title">图片文章</a>
</div>
<div class="infoc4 infolist1">
<?php echo tag('phpcms', 'tag_content_pic', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `zzinfo_content` WHERE  status=99   AND  `thumb`!='' ".get_sql_catid($catid)." ORDER BY contentid DESC", 0, 4, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '14',  'height' => '80',  'width' => '120',));?>
<div class="cle">&nbsp;</div>
</div>

<div class="ad_side"><script language="javascript" src="data/js.php?id=5"></script></div>

<div class="infobox4">
<a href="#" class="title">最新文章</a>
</div>
<div class="infoc4 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `zzinfo_content` WHERE  status=99  ".get_sql_catid($catid)." ORDER BY contentid DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '46',));?>
</div>

</div>

<div class="cle">&nbsp;</div>
</div>

<?php include PHPCMS_ROOT.'../include/foot.shtml'; ?>